<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	
<link href="../css/default.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../js/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="../css/newcss.css" />
<link rel="stylesheet" type="text/css" href="../js/themes/icon.css" />
<script type="text/javascript" src="../js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="../js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../js/jquery.validate.js"></script>

<script type="text/javascript" src="../js/locale/easyui-lang-zh_CN.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>用户添加</title>
<script type="text/javascript">
$(function(){
$('.form_form dl').hover(
  function(){
    
	    $(this).addClass("t3");    //鼠标经过添加hover样式
  },
  function(){
    $(this).removeClass("t3");   //鼠标离开移除hover样式
  }
);
jQuery('#manageradd').validate();
});
</script>
</head>

<body>
<div class="divfrom">
<div></div>
<form action="#" method="post" id="manageradd">
	<div class="form_form" id="tab">
<dl class="t1">
<dt>产品编号：<em>&nbsp;</em></dt>
<dd><input type="text" maxlength="12" value="" class="text text100 number" name="no" id="no" >
<span> 12字以内,只能填写数字与字母; 默认显示为线路ID</span>
</dd>
</dl>
<dl class="t1">
<dt>线路类型：<em>*</em></dt>
<dd>
<label>
<input type="radio" value="1" onclick="tit_dis(1)" class="radio" name="typeid">成都地接</label>&nbsp;<label>
<input type="radio" value="2" onclick="tit_dis(2)" class="radio" name="typeid">周边游</label>&nbsp;<label>
<input type="radio" value="3" onclick="tit_dis(3)" class="radio" name="typeid">国内游</label>&nbsp;<label>
<input type="radio" value="4" onclick="tit_dis(4)" class="radio" name="typeid">出境游</label>&nbsp;</dd>
</dl>
<dl class="t1">
<dt>参团性质：<em>*</em></dt><dd>
<label><input type="radio" value="0" class="radio" name="typeid2">常规团</label> 
<label><input type="radio" value="2" class="radio" name="typeid2">品质团</label> 
<label><input type="radio" value="3" class="radio" name="typeid2">纯玩团</label> 
<label><input type="radio" value="4" class="radio" name="typeid2">豪华团</label> 
<label><input type="radio" value="1" class="radio" name="typeid2">自由行</label> 
<label><input type="radio" value="5" class="radio" name="typeid2">自驾游</label>
</dd>
</dl>
<dl class="t1">
<dt>线路名称：<em>*</em></dt>
<dd><input type="text" maxlength="30" value="" class="text text500" name="title">
</dd>
</dl>
<dl class="t1">
<dt>线路分类：<em>&nbsp;</em></dt><dd><select name="classid"><option value="51561">华东旅游</option><option value="47080">成都到澳洲</option><option value="41106">中东旅游</option><option value="40641">亚洲旅游</option><option value="40324">成都出发到美洲</option><option value="40264">成都到欧洲游</option><option value="39958">出境岛屿</option><option value="39403">海南三亚</option><option value="38791">非洲旅游</option><option value="24835">重庆三峡</option><option value="24834">山东旅游</option><option value="24833">广西桂林华东</option><option value="24831">西北旅游</option><option value="24829">西藏旅游</option><option value="24828">北京旅游</option><option value="24827">云南旅游</option><option value="23516">四川旅游</option><option selected="" value="0">默认分类</option></select><span> 自定义分类，可在“线路分类管理”中进行添加、修改</span></dd>
</dl>
<dl class="t1">
<dt>提前天数：<em>*</em></dt><dd><input type="text" onkeypress="if (event.keyCode &lt; 45 || event.keyCode &gt; 57) event.returnValue = false;" value="" class="text text40" name="earlier_date" id="earlier_date"><span> 游客须提前报名的天数</span></dd>
</dl>
<dl class="t1">
<dt>出发城市：<em>*</em></dt><dd><select onchange="setCity(document.modiform.province,document.modiform.zone)" name="province">
                <script>province(document.modiform.province)</script><option value="99">选择省份</option><option value="11">北京市</option><option value="12">天津市</option><option value="13">河北省</option><option value="14">山西省</option><option value="15">内蒙古</option><option value="21">辽宁省</option><option value="22">吉林省</option><option value="23">黑龙江省</option><option value="31">上海市</option><option value="32">江苏省</option><option value="33">浙江省</option><option value="34">安徽省</option><option value="35">福建省</option><option value="36">江西省</option><option value="37">山东省</option><option value="41">河南省</option><option value="42">湖北省</option><option value="43">湖南省</option><option value="44">广东省</option><option value="45">广西</option><option value="46">海南省</option><option value="50">重庆市</option><option value="51">四川省</option><option value="52">贵州省</option><option value="53">云南省</option><option value="54">西藏</option><option value="61">陕西省</option><option value="62">甘肃省</option><option value="63">青海省</option><option value="64">宁夏</option><option value="65">新疆</option><option value="71">台湾省</option><option value="81">香港</option><option value="82">澳门</option>
              </select>
              <select name="zone">
                
              <option value="510100">成都</option><option value="510300">自贡</option><option value="510400">攀枝花</option><option value="510500">泸州</option><option value="510600">德阳</option><option value="510700">绵阳</option><option value="510800">广元</option><option value="510900">遂宁</option><option value="511000">内江</option><option value="511100">乐山</option><option value="511300">南充</option><option value="511400">眉山</option><option value="511500">宜宾</option><option value="511600">广安</option><option value="511700">达州</option><option value="511800">雅安</option><option value="511900">巴中</option><option value="512000">资阳</option><option value="513200">阿坝</option><option value="513300">甘孜</option><option value="513400">凉山</option></select></dd>
</dl>
<dl class="t1">
<dt>发团日期：<em>*</em></dt><dd><label><input type="radio" onclick="group_date2_display(1);" checked="" value="1" name="group_date" class="radio">天天发团</label> <label><input type="radio" onclick="group_date2_display(2);" value="2" name="group_date" class="radio">指定日期</label>&nbsp;&nbsp;<span class="c_808080" id="group_date2_span"></span></dd>
</dl>
<dl class="t1">
<dt>行程天数：<em>*</em></dt><dd><input type="text" onkeypress="if (event.keyCode &lt; 45 || event.keyCode &gt; 57) event.returnValue = false;" value="" class="text text40" name="daynum" id="daynum"></dd>
</dl>
<dl class="t1">
<dt>交通方式：<em>*</em></dt><dd>
	<input class="easyui-combobox" 
					name="language"
					url="combobox_data.json" 
					valueField="id" 
					textField="text" 
					panelHeight="auto"> 
       <input type="text" value="" class="text text160" name="traffic"><span class="c_808080"> 往返交通或行程包含的交通方式</span></dd>
</dl>
<div class="line"></div>
<dl class="t1">
<dt>线路描述图：<em>&nbsp;</em></dt><dd>
		
        <img style="display:none" id="idImg" class="xianlu_img" src="">
        <input type="file" name="fileurl" class="file" id="idFile">
        <span class="f73">点击上传JPG或GIF格式的图片，尺寸270x170、最大支持2M</span>        </dd>
</dl>
<script>
var ip = new ImagePreview( $("idFile"), $("idImg"), {
 maxWidth: 200, maxHeight: 200
});
ip.img.src = ImagePreview.TRANSPARENT;
ip.file.onchange = function(){ ip.preview(); $("idImg").style.display='block'; };
</script>

<dl class="t1">
<dt>排序：<em>&nbsp;</em></dt>
<dd><input type="text" class="text text40" value="999" name="orderid"> 
<span class="c_808080">数字越小排越前，仅对网店有效</span>
</dd>
</dl>

<input type="hidden" value="0" name="isrec_c">
<dl>
<dt>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</dt>
<a href="#" class="easyui-linkbutton" icon="icon-add" id="dds">添加</a>
</dl>


</div>

</form>
</div>
</body>
</html>
